// router.js
import { createRouter, createWebHashHistory } from "vue-router";
// import classhtml from './pages/classes.vue'
// import xvyuan from './pages/class1.vue'
// import hexiao from './pages/hexiao.vue'
// import cj from './pages/cj.vue'

import cjset from "@/pages/cjset.vue";

import jxs from "@/pages/jxs.vue";
import zjlist from "@/pages/zjlist.vue";
import sjlist from "@/pages/sjlist.vue";
import home from "@/pages/home.vue";
import clxq from "@/pages/clxq.vue";
import fwdj from "@/pages/fwdj.vue";
import cxxq from "@/pages/cxxq.vue";
import dhslist from "@/pages/dhslist.vue";
import sytop from "@/pages/sytop.vue";
import shangping from "@/pages/shangping.vue";
import cjdetails from "@/pages/cjdetails.vue";
import jifenduih from "@/pages/jifenduih.vue";
import addcjset from "@/pages/addcjset.vue";
import addjifendh from "@/pages/addjifendh.vue";
import statistics from "@/pages/statistics.vue";
import sjabout from "@/pages/sjabout.vue";
import tweetswiper from "@/pages/tweetswiper.vue";
import cjsetcopy from "@/pages/cjsetcopy.vue";
import activityswiper from "@/pages/activityswiper.vue";

const routes = [
  {
    path: "/cjset",
    component: cjset,
  },
  {
    path: "/jxs",
    component: jxs,
  },
  {
    path: "/zjlist",
    component: zjlist,
  },
  {
    path: "/sjlist",
    component: sjlist,
  },
  {
    path: "/",
    component: home,
  },
  {
    path: "/clxq",
    component: clxq,
  },
  {
    path: "/fwdj",
    component: fwdj,
  },
  {
    path: "/cxxq",
    component: cxxq,
  },
  {
    path: "/dhslist",
    component: dhslist,
  },
  {
    path: "/sytop",
    component: sytop,
  },
  {
    path: "/shangping",
    component: shangping,
  },
  {
    path: "/cjdetails",
    component: cjdetails,
  },
  {
    path: "/jifenduih",
    component: jifenduih,
  },
  {
    path: "/addcjset",
    component: addcjset,
  },
  {
    path: "/addjifendh",
    component: addjifendh,
  },
  {
    path: "/statistics",
    component: statistics,
  },
  {
    path: "/sjabout",
    component: sjabout,
  },
  {
    path: "/tweetswiper",
    component: tweetswiper,
  },
  {
    path: "/cjsetcopy",
    component: cjsetcopy,
  },
  {
    path: "/activityswiper",
    component: activityswiper,
  }
];

export default function () {
  return createRouter({
    history: createWebHashHistory(),
    routes,
  });
}
